// 前台页面样式

$nav-height = .32rem
nav
    height $nav-height
    line-height $nav-height
    background-color #f1f1f1
    font-size .12rem
    line-height #nav-height
    color #6a6a6a
    padding 0 .16rem
    a
        color #6a6a6a
    p
        margin-bottom 0

.nav-right
    list-style none
    li
        float left
        margin-left .08rem
    .am-btn
        box-shadow 2px 2px 3px #aaa
        margin-top -4px

.am-g-fixed
    width 1160px
    max-width 1160px

.ty_footer
    margin-top .64rem

label > small
    color #999

// 登陆页面
.page-auth
    header
        text-align center
        h1
            font-size 200%
            color #333
            margin-top .3rem
        p
            font-size .14rem

// 二手货页面
.page-goods
    .sort
        list-style none
        padding-left 0
        font-size 90%
        li
            float left
            margin-right 1em
            .current
                color #000
                text-decoration none
                cursor default
                font-weight 700
    //.goods-list
    .good
        display block
        border-right 1px solid #ccc
        padding 0.08rem
        margin-top 0.32rem
        &:nth-child(4n)
        &:last-child
            border none
        .good-box
            padding-left 0.08rem
            padding-right 0.08rem
            .thumb
                width 100%
                height 1.7rem
                background cneter no-repeat
                background-size cover
                position relative
                .am-badge
                    position absolute
                    top .04rem
                    right .04rem
            .deadline
                font-size 80%
            .other
                .price
                    width 4em
            .operate
                display none
        &:hover
            .operate
                display block
            a.operate
                display inline

.page-goods-detail
    .header
        .area
            font-size 14px
            color #999
            span
                color #333